package com.medical.doctor.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.medical.common.core.annotation.Excel;
import com.medical.common.core.web.domain.BaseEntity;

/**
 * 接诊对象 receive_patients
 * 
 * @author medical
 * @date 2024-07-21
 */
@Data
public class ReceivePatients extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 接诊id */
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateOfAdmission;

    /** 患者id */
    @Excel(name = "患者id")
    private Long patientId;

    /** 消息 */
    @Excel(name = "消息")
    private String message;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    /** 接诊状态【0-未接诊 1-已接诊】 */
    @Excel(name = "接诊状态【0-未接诊 1-已接诊】")
    private Long status;

    private String patientName;
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDateOfAdmission(Date dateOfAdmission) 
    {
        this.dateOfAdmission = dateOfAdmission;
    }

    public Date getDateOfAdmission() 
    {
        return dateOfAdmission;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dateOfAdmission", getDateOfAdmission())
            .append("patientId", getPatientId())
            .append("message", getMessage())
            .append("doctorId", getDoctorId())
            .append("status", getStatus())
            .toString();
    }
}
